﻿@namespace MudBlazor
@inherits MudComponentBase
@typeparam T

<div class="@Classname" style="@($"{Style};touch-action:none;transform: translate3d(0px, 0px, 0px);")"
     id="@($"mud-drop-item-{_id}")"
     index="@Index"
     @attributes="UserAttributes"
     draggable="@(!Disabled ? "true" : "false")"
     @ondragstart="DragStarted"
     @ontouchstart="TouchStarted"
     @ontouchend="TouchEnded"
     @ontouchmove="TouchMoved"
     @ondragend="DragEnded"
     @ondragenter="HandleDragEnter"
     @ondragleave="HandleDragLeave">

    @if (!HideContent)
    {
        @ChildContent
    }
</div>